# -*- coding: utf-8 -*-
# @Time    : 2024/11/4 下午11:59
# @Author  : xiaowanzi
# @File    : config.py
from configobj import ConfigObj
from base.project_path import get_project_path


def getconfig():
    project_path = get_project_path()
    conf_ini = project_path + "\\config.ini"
    config = ConfigObj(conf_ini, encoding='UTF8', _inspec=True)
    return config


myConfig = getconfig()
